﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AAA.Meta.Quote.Data;

namespace AAA.Quote
{
    public interface IHistoryQuote
    {
        void InitProgram(Dictionary<string, object> dicParam);
        void Close();
        List<BarRecord> GetBarData(string strSymbolId, DateTime dtStartTime, DateTime dtEndTime);
        List<BarRecord> GetBarData(string strSymbolId);
        Dictionary<string, List<AAA.Meta.Quote.Data.BarRecord>> GetBarRecord(string strRecordType, string strSymbolId); //SymbolId, List<BarRecord>;
        Dictionary<string, List<AAA.Meta.Quote.Data.BarRecord>> GetBarRecord(string strRecordType, string strSymbolId, DateTime dtStartTime, DateTime dtEndTime);        
    }
}
